﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Nop.Web.Models.Common
{
    public class AutoCompleteModel
    {
        public AutoCompleteModel()
        {
            this.children = new List<AutoCompleteChildrenModel>();
        }
        public string key { get; set; }
        public string title { get; set; }
        public IList<AutoCompleteChildrenModel> children { get; set; }
    }

    public class AutoCompleteChildrenModel
    {
        public string key { get; set; }
        /// <summary>
        /// 物资编码
        /// </summary>
        public string No { get; set; }
        /// <summary>
        /// 物资名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 拼音缩写
        /// </summary>
        public string Initials { get; set; }
        /// <summary>
        /// ERP编码
        /// </summary>
        public string ERPCode { get; set; }
        /// <summary>
        /// 物资型号
        /// </summary>
        public string Model { get; set; }
        /// <summary>
        /// 物资单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 仓位
        /// </summary>
        public string Location { get; set; }
    }
}